package com.csw.monkmanager.dao;

import com.csw.monkmanager.entity.Article;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

//使用自定义接口继承ElasticsearchRepository  泛型:当前操作对象类型  泛型:对象中主键类型
@Mapper
public interface ArticleRepository extends ElasticsearchRepository<Article, String> {

}
